<template>
	<view class="kefu">
		<view class="chat">
			<view class="header">
				<view class="time">
					17:40
				</view>
				<view class="kefuAnswer">
					<view class="kefuHeader">
						
					</view>
					<view class="answer">
						<text class="robot">软考帮客服：软小帮</text>
						<text class="ansewrWord">
							<image src="../../../static/icons/kefuleft.png" mode=""></image>想要了解更多，输入你要提问的关键字，软小帮为你解答！</text>
					</view>
				</view>
			</view>
			<view class="header">
				
			</view>
		</view>
		<view class="send">
			<view class="sendMessage">
				<input type="text" placeholder="请输入你要咨询的问题" />
				<image src="../../../static/icons/smile.png" mode=""></image>
			</view>
			<text>发送</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
.kefu{
	position: relative;
	font-family: "微软雅黑";
.chat{
	padding: 10px;
	background: #f4f4f4;
	height: 700px;
	.header{
		.time{
			text-align: center;
			font-size: 14px;
			color: #8F939C;
			margin-bottom: 20px;
		}
		.kefuAnswer{
			display: flex;
			.kefuHeader{
				width: 35px;
				height: 35px;
				background: url(../../../static/imgs/2.jpg) no-repeat center #fff;
				background-size: 100%;
				margin-right: 15px;
			}
			text{
				display: block;
			}
			.robot{
				font-size: 14px;
				color: #8F939C;
				margin-bottom: 5px;
				margin-top: -10px;
			}
			.ansewrWord{
				width: 500rpx;
				padding: 10px;
				background: #fff;
				font-size: 18px;
				line-height: 25px;
				position: relative;
				letter-spacing: 1px;
				image{
					width: 20px;
					height: 20px;
					position: absolute;
					left: -13px;
				}
			}
		}
	}
}
	.send{
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		height: 60px;
		background: #e8e8e8;
		border-top: 1px solid #ccc;
		padding-top: 20px;
		display: flex;
		justify-content: space-between;
		padding-left: 10px;
		padding-right: 10px;
		.sendMessage{
			position: relative;
			input{
				width: 530rpx;
				height: 40px;
				background: #fff;
				border-radius:40px ;
				padding-left: 10px;
				padding-right: 10px;
				
			}
			image{
				width:25px;
				height: 25px;
				position: absolute;
				right: 30rpx;
				top: 10px;
			}
		}
		text{
			display: block;
			height: 80rpx;
			width: 80rpx;
			text-align: center;
			color: #fff;
			line-height: 40px;
			padding-left: 10px;
			padding-right: 10px;
			background: #1890FF;
		}
	}
}
</style>
